package com.dayaokeji.server_api.api;

import android.database.Observable;
import android.media.Image;

import com.dayaokeji.server_api.domain.ImAccessToken;
import com.dayaokeji.server_api.domain.RequestToken;

import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;

/**
 * ********************************************************************
 * *  Created by Zeno on 2018/6/25
 * ********************************************************************
 * *  version 1.0
 * ********************************************************************
 * *  Copyright (C) dayaokeji.com 2018 -- 2020 All rights reserved.
 * ********************************************************************
 * *
 * ********************************************************************
 */
public interface ImApi {


    @POST("/course/auth/grant")
    @Headers("Authorization:Basic Nzo0NDk3NjBiMTIwNjEwYWMwYjNhYmRiZDk1NTI1NGVlMA==")
    Call<ResponseBody> getAccessImToken(@Body RequestToken requestToken);

}
